package com.ggb.reactive.repository

import com.ggb.reactive.domain.entity.User
import org.springframework.data.repository.reactive.ReactiveCrudRepository
import org.springframework.stereotype.Repository
import reactor.core.publisher.Mono

@Repository
interface UserRepository: ReactiveCrudRepository<User, Long> {
    fun findByOpenid(openid : String ):Mono<User>
}